﻿using System.Windows.Forms;

namespace Test_Form
{
    public partial class MainForm : Form
    {
        public MainForm() { InitializeComponent(); }

        private void mouseComponent1_OnMouseMove(object Sender, WindowsAPI.OnMouseMoveEventArgs Args)
        {
            Text = string.Format("({0})", Args.Position);
        }

        private void keyboardComponent1_OnKeyboardEvent(WindowsAPI.KeyboardComponent Sender, WindowsAPI.OnKeyboardEventArgs Args)
        {
            label1.Text = Args.ToString();
        }

        private void keyboardComponent1_OnKeyDown(WindowsAPI.KeyboardComponent Sender, WindowsAPI.OnKeyboardEventArgs Args)
        {
            label2.Text = Args.ToString();
        }

        private void keyboardComponent1_OnKeyUp(WindowsAPI.KeyboardComponent Sender, WindowsAPI.OnKeyboardEventArgs Args)
        {
            label3.Text = Args.ToString();
        }

        private void keyboardComponent1_OnSysKeyDown(WindowsAPI.KeyboardComponent Sender, WindowsAPI.OnKeyboardEventArgs Args)
        {
            label4.Text = Args.ToString();
        }

        private void keyboardComponent1_OnSysKeyUp(WindowsAPI.KeyboardComponent Sender, WindowsAPI.OnKeyboardEventArgs Args)
        {
            label5.Text = Args.ToString();
        }


    }
}
